﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Administrator/EHTAdmin.Master" AutoEventWireup="true" CodeBehind="EHTSystem.aspx.cs" Inherits="EHTWebsiteProject.Administrator.EHTSystem" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MenuModulContent" runat="server">
    <div class="MenuSub-Left" >
        <table>
            <tr>
                <td> <img alt="" src="../images/EHTgiaodien/index.jpeg" width="48px" height="48px"  /></td>
                <td><asp:Label ID="lbSystem" runat="server" ></asp:Label></td>
            </tr>
        </table>         
        
    </div>
    <div class="MenuSub-Right">
    
    </div>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentMain" runat="server">
    <div class="ContentSub">  
        <div class="ContentSub-Left">
            <asp:Repeater ID="rpMenuSystem" runat="server" 
                onitemdatabound="rpMenuSystem_ItemDataBound">
                <ItemTemplate>
                    <div style="float:left; width:131px; padding-left:2px; padding-top:2px">
                        <div class="icon">
                                <asp:ImageButton ID="imgButton" runat="server" class="imagboder" PostBackUrl='<%#Eval("ControlUrl")%>' />                            
                                <asp:Label ID="lbIcon" runat="server" Text='<%#Eval("Icon")%>' Visible="false"></asp:Label>
                                <br /><br />
                                <%if (IsVN)
                                            { %>
                                                <%#Eval("MenuNameVN")%>
                                                <%}
                                          else
                                              {%>
                                               <%#Eval("MenuNameOther")%>
                                                 <%}
                                         %>                                                                             
                        </div>
                    </div>
                </ItemTemplate>
            </asp:Repeater>
        </div>      
       <%-- <div class="ContentSub-Left">
            <div style="float:left; width:131px; padding-left:2px; padding-top:2px">
                <div class="icon">
                    <a href="EHTFrontPage.aspx">
                        <img alt="" src="../images/EHTgiaodien/icon-48-frontpage.png" class="imagboder" /><br /><br />
                        <asp:Label ID="lbQuanLyTrangChu" runat="server" Text="Quản lý trang chủ"></asp:Label>
                    </a>
                </div>
            </div>
            <div style="float:left; width:131px; padding-left:2px; padding-top:2px">                
                <div class="icon">
                    <a href="EHTArticleIU.aspx">
                        <img alt="" src="../images/EHTgiaodien/icon-48-article-add.png" class="imagboder"/><br /><br />
                        <asp:Label ID="lbThemMoiBaiViet" runat="server" Text="Thêm mới bài viết"></asp:Label>
                    </a>
                </div>
            </div>
            <div style="float:left; width:131px; padding-left:2px; padding-top:2px">
                <div class="icon">
                    <a href="EHTArticle.aspx">
                        <img alt="" src="../images/EHTgiaodien/icon-48-article.png" class="imagboder"/><br /><br />
                        <asp:Label ID="lbQuanLyBaiViet" runat="server" Text="Quản lý bài viết"></asp:Label>
                    </a>
                </div>
            </div>            
            <div style="float:left; width:131px; padding-left:2px; padding-top:2px">
                <div class="icon">
                    <a href="EHTCategoryNews.aspx">
                        <img alt="" src="../images/EHTgiaodien/icon-48-section.png" class="imagboder"/><br /><br />
                        <asp:Label ID="lbQuanLyNhomTin" runat="server" Text="Quản lý nhóm tin"></asp:Label>
                    </a>
                </div>
            </div>

            <div style="float:left; width:131px; padding-left:2px; padding-top:2px">
                <div class="icon">
                    <a href="EHTProducts.aspx">
                        <img alt="" src="../images/EHTgiaodien/icon-48-category.png" class="imagboder"/><br /><br />
                        <asp:Label ID="lbQuanLySanPham" runat="server" Text="Quản lý sản phẩm"></asp:Label>
                    </a>
                </div>
            </div>
            <div style="float:left; width:131px; padding-left:2px; padding-top:2px">
                <div class="icon">
                    <a href="EHTCategory.aspx">
                        <img alt="" src="../images/EHTgiaodien/icon-48-category.png" class="imagboder"/><br /><br />
                        <asp:Label ID="lbQuanLyNhomSanPham" runat="server" Text="Quản lý nhóm sản phẩm"></asp:Label>
                    </a>
                </div>
            </div>
       
               <div style="float:left; width:131px; padding-left:2px; padding-top:2px">
                <div class="icon">
                    <a href="EHTMenus.aspx">
                        <img alt="" src="../images/EHTgiaodien/icon-48-menumgr.png" class="imagboder"/><br /><br />
                        <asp:Label ID="lbQuanLyMenu" runat="server" Text="Quản lý Menu"></asp:Label>
                    </a>
                </div>
            </div>
            
            <div style="float:left; width:131px; padding-left:2px; padding-top:2px">
                <div class="icon">
                    <a href="EHTMedia.aspx">
                        <img alt="" src="../images/EHTgiaodien/icon-48-media.png" class="imagboder"/><br /><br />
                        <asp:Label ID="lbQuanLyMedia" runat="server" Text="Quản lý Media"></asp:Label>
                    </a>
                </div>
            </div>

         
            <div style="float:left; width:131px; padding-left:2px; padding-top:2px">
                <div class="icon">
                    <a href="EHTUser.aspx">
                        <img alt="" src="../images/EHTgiaodien/icon-48-user.png" class="imagboder"/><br /><br />
                        <asp:Label ID="lbQuanLyThanhVien" runat="server" Text="Quản lý thành viên"></asp:Label>
                    </a>
                </div>
            </div>
            
            <div style="float:left; width:131px; padding-left:2px; padding-top:2px">
                <div class="icon">
                    <a href="EHTNgonNgu.aspx">
                        <img alt="" src="../images/EHTgiaodien/icon-48-language.png" class="imagboder"/><br /><br />
                        <asp:Label ID="lbNgonNgu" runat="server" Text="Quản lý ngôn ngữ"></asp:Label>
                    </a>
                </div>
            </div>
             <div style="float:left; width:131px; padding-left:2px; padding-top:2px">
                <div class="icon">
                    <a href="EHTInterfaces.aspx">
                        <img alt="" src="../images/EHTgiaodien/icon-48-category.png" class="imagboder"/><br /><br />
                        <asp:Label ID="lbPhanvung" runat="server" Text="Quản lý kiểu phân vùng"></asp:Label>
                    </a>
                </div>
            </div>
            <div style="float:left; width:131px; padding-left:2px; padding-top:2px">
                <div class="icon">
                    <a href="EHTModul.aspx">
                        <img alt="" src="../images/EHTgiaodien/icon-48-module.png" class="imagboder"/><br /><br />
                        <asp:Label ID="lbModul" runat="server" Text="Quản lý modul"></asp:Label>
                    </a>
                </div>
            </div>
        </div>      --%> 
        <div class="ContentSub-Right">
            <div id="TinTucXemNhieuNhat">
                <div id="HeaderTinTucXemNhieu">
                    <asp:Label ID="lbTinHot" runat="server" Text="Tin xem nhiều nhất"></asp:Label>
                </div>
                 <div id="ContentTinTucXemNhieu">
                    <asp:Repeater ID="rpNewsViews" runat="server">
                        <HeaderTemplate>
                            <table class="table">
                                <thead>
                                    <tr>
                                         <%if (IsVN)
                                            { %>
                                                <td style="width:450px">
                                                    Tiêu đề
                                                </td>
                                                <td>
                                                    Lượt xem
                                                </th>
                                                <%}
                                          else
                                              {%>
                                                <td style="width:450px">
                                                    Title
                                                </td>
                                                <td>
                                                    Views
                                                </td>
                                                 <%}
                                         %>                                             
                                    </tr>
                                </thead>
                                <tbody>
                                
                        </HeaderTemplate>
                        <ItemTemplate>
                                <tr>
                                    <td style="width:450px">
                                        <%if (IsVN)
                                            { %>
                                                <%#Eval("TieuDeVN")%>
                                             <%}
                                          else
                                              {%>
                                                <%#Eval("TieuDeOther")%>
                                               <%}
                                         %>     
                                    </td>
                                    <td>
                                        <%#Eval("LuotTruyCap")%>
                                    </td>
                                </tr>
                        </ItemTemplate>
                        <FooterTemplate>
                                </tbody>
                            </table>
                        </FooterTemplate>
                     </asp:Repeater> 
                </div>  
            </div>
            <div style="padding:2px 0px 1px 0px"></div>
            <div id="DanhMucMoi">
                 <div id="HeaderDanhMucMoi">
                     <asp:Label ID="lbSanPhamBanChay" runat="server" Text="Sản phẩm bán nhiều nhất"></asp:Label>
                </div> 
                 <div id="ContentDanhMucMoi">
                     <asp:Repeater ID="rpProductsHost" runat="server">
                        <HeaderTemplate>
                            <table class="table">
                                <thead>
                                    <tr>
                                         <%if (IsVN)
                                            { %>
                                                <td style="width:450px">
                                                    Tên sản phẩm
                                                </td>
                                                <td>
                                                    Số lượng bán
                                                </td>
                                                <%}
                                          else
                                              {%>
                                                <td style="width:450px">
                                                    Product Name
                                                </td>
                                                <td>
                                                    In sales
                                                </td>
                                                 <%}
                                         %>                                             
                                    </tr>
                                </thead>
                                <tbody>
                                
                        </HeaderTemplate>
                        <ItemTemplate>
                                <tr>
                                    <td style="width:450px">
                                        <%if (IsVN)
                                            { %>
                                                <%#Eval("TenSanPhamVN")%>
                                             <%}
                                          else
                                              {%>
                                                <%#Eval("TenSanPhamOther")%>
                                               <%}
                                         %>         
                                    </td>
                                    <td>
                                        
                                        <%#Eval("SoLuongBan")%>
                                    </td>
                                </tr>
                        </ItemTemplate>
                        <FooterTemplate>
                                </tbody>
                            </table>
                        </FooterTemplate>
                     </asp:Repeater> 
                </div>  
            </div>
        </div>
        
    </div>
</asp:Content>
